**********************************
Compiling mdAddrPythonWrapper.cpp
**********************************

You may need to recompile mdAddrPythonWrapper.cpp if you are not using a version of Python that is compatible with the _mdAddrPythonWrapper.pyd that is supplied. 

Prerequisites:
	
	Visual C++ Compiler
	Python (tested with 2.5.2)

To compile mdAddrPythonWrapper.cpp, a bat file has been supplied. This bat file requires the Visual Studio C++ compiler. To use the compiler, you must set up its environment by executing vcvars32.bat in the Visual Studio C++ bin folder. For 64-bit use Visual Studio Command Prompt x64 and  Read the comments at the top of BuildWrapper.bat for more details.


You must then set the path to the Python Include and Library path. You also need to set the path of the Address Object library (mdAddr.dll). The default locations of these files are set for 32-bit but may require changes if your system is different.
* 64bit version available in C:\Program Files\Melissa DATA\DQT\AddrObj\dll_64bit


set mdAddrPath to the directory containing mdAddr.dll
set PythonIncludePath to the Python\include directory.
set PythonLibraryPath to the Python\libs directory.

You will also need to change the Python dependency that the code needs based on your version of Python. In BuildWrapper.bat, you will need to change the following to match your installation of Python:

	-DEFAULTLIB:python25.lib

pythonxx.lib should be in your Python25\libs. For example, if you are using Python 1.5 , you will change to:

	-DEFAULTLIB:python15.lib


Now, you can run BuildWrapper.bat to create _mdAddrPythonWrapper.pyd.
